package com.wangdao.mall.model;

/**
 * @Author:HaiyangTian
 * @Description:
 * @Date: Created in 20:29 2020/4/29
 * @Modified By:
 */
public class Result {

    //通过抓包可以看到响应体里面有这些数据
    private Integer code;

    private Object data;

    private String message;

    public Integer getCode() {
        return code;
    }

    public Object getData() {
        return data;
    }

    public String getMessage() {
        return message;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "Result{" +
                "code=" + code +
                ", data=" + data +
                ", message='" + message + '\'' +
                '}';
    }
}
